<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../../lib/Validform/5.3.2/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css"/>
    <link rel="stylesheet" type="text/css" href="../../../ht-css/jedate.css"/>
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>服务商订单预警管理</title>
</head>
<style>
    .consigneetitle{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100px;
    display: inline-block;
    }
</style>
<body data-id="646">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>服务商管理<span
        class="c-gray en">&gt;</span>服务商订单预警管理<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
                                              href="javascript:location.replace(location.href);" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <div class="ml-20 mr-20">
        <div class="bg-1 bk-gray pb-10">
            <form id="form-search" class="ml-20 mr-20">
                <div class="pl-10 lh-30 mb-10">
                    <div class="line mb-10"></div>
                    <table class="table_li mb-10 table ml-20">
                        <thead class="text-l">
                        <tr>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l text-r w-80 lh-26">渠道名称：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10 w-180">
                                          <select class="select radius f-l ml-10" name="brandclass" id="parentCustomerName" size="1" style="width:93%;">
                                            <option value="" selected>全部</option>
                                          </select>
                                      </span>
                                </div>
                                <span class="Validform_checktip"></span>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l text-r w-80 lh-26">服务商名称：</label>
                                    <div class="formControls f-l">
                                        <input type="text"  class="select-box size-M radius col-xs-8 ml-10 w-180" id="providerName"
                                               name="orderCode"  autocomplete="off" placeholder="请输入服务商名称">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l text-r w-80 lh-26">有无备注：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10 w-180">
                                          <select class="select" name="brandclass" id="isremakes" size="1">
                                            <option value="" selected>全部</option>
                                            <option value="0">无</option>
                                            <option value="1">有</option>
                                          </select>
                                      </span>
                                </div>
                                <span class="Validform_checktip"></span>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row">
                                    <label
                                           class="form-label f-l text-r w-80 lh-26">对方订单号：</label>
                                    <div class="formControls f-l">
                                        <input type="text" class="input-text radius w-180 ml-10 f-l" id="dorderCode"
                                               name="orderCode"  autocomplete="off"  placeholder="输入订单号查询">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l text-r w-80 lh-26">我方订单号：</label>
                                    <div class="formControls f-l">
                                        <input type="text" class="input-text radius w-180 ml-10 f-l" id="orderCode"
                                               name="orderCode" placeholder="输入订单号查询" autocomplete="off" 
                                               onkeyup="this.value=this.value.replace(/[^A-Z0-9]/g,'');"
                                               errormsg="格式错误，请重新输入" ignore="ignore">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l pt-5 text-r w-85">商品：</label>
                                    <div class="formControls f-l">
                                        <input type="text" class="input-text radius w-180 ml-10 f-l" id="SKUCode"
                                               name="SKUCode"  autocomplete="off"  placeholder="输入code码"
                                               ignore="ignore" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row">
                                    <label
                                           class="form-label f-l text-r w-80 lh-26">交易状态：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10 w-180">
                                          <select class="select" name="brandclass" id="dealState" size="1">
                                            <option value="" selected>全部</option>
                                            <option value="10">待付款</option>
                                            <option value="20">待审核</option>
                                            <option value="30">待配货</option>
                                            <option value="40">待出库</option>
                                            <option value="50">待发货</option>
                                            <option value="60">待收货</option>
                                            <option value="70">待结算</option>
                                            <option value="80">订单成功 </option>
                                            <option value="90">交易完成</option>
                                            <option value="100">订单取消</option>
                                            <option value="110">交易关闭</option>
                                          </select>
                                      </span>
                                </div>
                                <span class="Validform_checktip"></span>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l pt-5 text-r w-85">下单时间：</label>
                                    <div class="f-l ml-10">
                                        <input onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'timemax\')||\'%y-%M-%d\'}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                               class="input-text Wdate radius" id="timemin" type="text"
                                               placeholder="起始时间" style="width:116px;" autocomplete="off">
                                        ~
                                        <input onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'timemin\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                               class="input-text Wdate radius" id="timemax" type="text"
                                               placeholder="结束时间" style="width:116px;" autocomplete="off">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label 
                                           class="form-label f-l pt-5 text-r w-85">配送类型：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10 w-180" style="width:40%">
                                          <select class="select" name="brandclass" id="sent_type" size="1">
                                            <option value="" selected>全部</option>
                                            <option value="10">快递</option>
                                            <option value="40">鑫方盛物流</option>
                                          </select>
                                      </span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row">
                                    <label
                                           class="form-label f-l pt-5 text-r w-85">推送时间：</label>
                                    <div class="f-l ml-10">
                                        <input onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'tuisongmax\')||\'%y-%M-%d\'}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                               class="input-text Wdate radius" id="tuisongmin" type="text"
                                               placeholder="起始时间" style="width:116px;" autocomplete="off">
                                        ~
                                        <input onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'tuisongmin\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                               class="input-text Wdate radius" id="tuisongmax" type="text"
                                               placeholder="结束时间" style="width:116px;" autocomplete="off">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row pos-r">
                                    <label class="form-label f-l text-r w-80 lh-26">收货人姓名：</label>
                                    <div class="formControls f-l">
                                        <input type="text" class="input-text radius w-180 ml-10 f-l" id="consignee"
                                               name="consignee" placeholder="输入姓名关键字" datatype="/^[^a-zA-Z1-9]{0,20}$/"
                                               errormsg="输入格式错误" ignore="ignore"  autocomplete="off" 
                                               onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label class="form-label f-l pt-5 text-r w-85">收货人手机号：</label>
                                    <div class="formControls col-sm-7">
                                        <input type="text" class="input-text radius ml-10  w-180 f-l" id="phoneNum"  autocomplete="off" 
                                               name="phoneNum" placeholder="输入手机号码" datatype="n0-11" errormsg="输入格式不正确"
                                               ignore="ignore" onKeyUp="value=value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row">
                                    <label 
                                           class="form-label f-l pt-5 text-r w-85">收货地：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10" style="width:120px">
                                        <select class="select" onchange="discountdata(1)" name="brandclass" id="getArea"
                                                size="1">
                                            <option value="" selected>请选择收货区域</option>
                                        </select>
                                    </span>
                                    <span class="select-box size-M radius col-xs-8 ml-10" style="width:120px">
                                        <select class="select" name="brandclass" id="getPlace" size="1">
                                            <option value="" selected>请选择收货位置</option>
                                        </select>
                                    </span>
                                </div>
                                <span class="Validform_checktip"></span>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label 
                                           class="form-label f-l pt-5 text-r w-85">订单金额：</label>
                                    <div class="f-l ml-10">
                                        <input placeholder="请输入订单金额" id="paid_amount_min" onchange="functionMax()"
                                               type="text" class="input-text radius  f-l"
                                               onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
                                               style="width:116px;" maxlength="10">
                                        <input placeholder="请输入订单金额" id="paid_amount_max" onchange="functionMax()"
                                               type="text" class="input-text radius  f-l"
                                               onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
                                               style="width:116px;margin-left: 14px;" maxlength="10">
                                    </div>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row">
                                    <label style="margin-left: -1px;width: 90px;"
                                           class="form-label f-l pt-5">凭证上传状态：</label>
                                    <span class="select-box size-M radius col-xs-8"
                                          style="width: 46%;margin-left: 5px;">
                              <select class="select" name="uploadProofStatus" id="uploadProofStatus" size="1">
                                  <option value="" selected>全部</option>
                                  <option value="10">未上传</option>
                                  <option value="20">已上传</option>
                              </select>
                              </span>
                                </div>
                            </td>
                        </tr>
                        </thead>
                    </table>
                </div>
                <div class="text-c pb-20 pt-10">
                    <div style="padding-left: 10px">
                        <input type="button" class="btn btn-secondary radius size-S powerButton 654"
                               value="查&nbsp;&nbsp;询" onclick="getList()">
                        <input name="" type="reset" 
                               class="btn radius size-S ml-10 powerButton 654" value="重&nbsp;&nbsp;置">
                    </div>
                </div>
            </form>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                <thead>
                <tr class="text-c">
                    <th width="50">订单号</th>
                    <th width="50">渠道名称</th>
                    <th width="50">服务商名称</th>
                    <th width="50">下单时间</th>
                    <th width="50">订单金额</th>
                    <th width="50">预警备注</th>
                    <th width="60">操作</th>
                </tr>
                </thead>
                <tbody class="shun">
                </tbody>
            </table>
            <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                <div class="f-r pageturning M-box3"></div>
            </div>
        </div>
    </div>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>

<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/warehouse.js?rev=@@hash"></script>
<script src="../../../ht-js/serviceProvider/orderalert/orderalert.js?rev=@@hash"></script>
<script>
    // $(function () {
    //     $("#form-search").Validform({
    //         tiptype: 2,
    //         callback: function (form) {
    //             getList(1);
    //             return false;
    //         }
    //     });
    // })
    $('#reset').click(function(){
        $('input').val('');
        $('select').val('');
    })
    function functionMax() {
        if ($("#paid_amount_min").val() != null && $("#paid_amount_max").val() != null) {
            console.log($("#paid_amount_max").val());
            if (parseFloat($("#paid_amount_max").val()) <= parseFloat($("#paid_amount_min").val())) {
                var s = "输入金额应大于第1个输入框";
                $.Huimodalalert(s, 1000);
            }
        }
    }

</script>
</body>
</html>